package com.myFwk.config.jetcache;

import com.alicp.jetcache.anno.config.EnableCreateCacheAnnotation;
import com.alicp.jetcache.anno.config.EnableMethodCache;
import org.springframework.context.annotation.Configuration;

/**
 * @Title:
 * @Description:
 * @Author: guowl
 * @version： 1.0
 * @Date:2021/8/30
 * @Copyright: Copyright(c)2021 RedaFlight.com All Rights Reserved
 */
@Configuration
@EnableCreateCacheAnnotation
@EnableMethodCache(basePackages = "com.myFwk.service.impl")
public class JetcacheConfig {
    /**
     * @EnableMethodCache
     * 用于激活@Cached注解的使用
     *
     *@EnableCreateCacheAnnotation
     * 用于激活@CreateCache注解的使用
     */
}
